/*============================部门============================*/
// 表头
export const deptColumns = [
	{ title: '姓名', dataIndex:'nickname',slotName:'nickname', width: 150 },
	{ title: '部门', slotName: 'deptNames',dataIndex:'deptNames', width: 120 },
	{ title: '岗位', slotName: 'postNames',dataIndex:'postNames', width: 150  },
	{ title: '手机号', slotName: 'mobile', width: 150 },
	{ title: '邮箱', slotName: 'email', minWidth: 200 },
	{ title: '最后在线时间', dataIndex: 'loginTime', minWidth: 180 },
	{ title: '状态', slotName: 'status', width: 80 },
]

// 按钮
export const deptBtns = [
	{type:'del',label:'删除',icon:'EachApp_shanchu',disabled:false, color: 'red' },
	{type:'back',label:'返聘',icon:'EachApp_chexiao',disabled:false },
	{type:'resetPwd',label:'重置密码',icon:'EachApp_zhongzhimima',disabled:false },
	// {type:'password',label:'修改密码',icon:'EachApp_a-bianji1',disabled:false },
	// {type:'dept',label:'修改部门',icon:'EachApp_a-bianji1',disabled:false},
	// {type:'post',label:'修改岗位',icon:'EachApp_a-bianji1',disabled:false},
	// {type:'restore',label:'恢复',icon:'EachApp_huifu',disabled:false },
	{type:'leave',label:'离职',icon:'EachApp_zanting',disabled:false, color: 'red' },
	{type:'transfer',label:'调动',icon:'EachApp_qiehuan',disabled:false },
	{type:'deptManager',label:'设为负责人',icon:'EachApp_kehufuzerenlishijilu' ,disabled:false },
]

/*============================岗位============================*/
// 表头
export const postColumns = [
	{ title: '职务', dataIndex: 'name', slotName: 'name' },
	{ title: '职务描述', dataIndex: 'remark', slotName: 'remark' },
	{ title: '部门', slotName: 'depts' },
	{ title: '成员数', dataIndex: 'totalUser', slotName: 'totalUser'},
	{ title: '状态', dataIndex: 'status', slotName: 'status' },
]
// 按钮
export const postBtns = [
	{type:'del',label:'删除',icon:'EachApp_shanchu',disabled:false, color: 'red'},
	{type:'enable',label:'启用',icon:'EachApp_shanchu',disabled:false},
	{type:'disable',label:'停用',icon:'EachApp_shanchu',disabled:false, color: 'red'},
	{type:'delUser',label:'移除成员',icon:'EachApp_qiehuan',disabled:false},
	{type:'addUser',label:'添加成员',icon:'EachApp_shanchu',disabled:false, color: '#165DFF'},
]
